package edu.qust.y22.mapper;

import edu.qust.y22.bean.Adticket;
import edu.qust.y22.bean.AdticketExample;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface AdticketMapper {
    int countByExample(AdticketExample example);

    int deleteByExample(AdticketExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Adticket record);

    int insertSelective(Adticket record);

    List<Adticket> selectByExample(AdticketExample example);

    Adticket selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") Adticket record, @Param("example") AdticketExample example);

    int updateByExample(@Param("record") Adticket record, @Param("example") AdticketExample example);

    int updateByPrimaryKeySelective(Adticket record);

    int updateByPrimaryKey(Adticket record);
}